package utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtil {
	public static Properties getProperties(InputStream propIS) {
		Properties prop = new Properties();
		try {
			prop.load(propIS);
			propIS.close();
		} catch (IOException e) {
			throw new RuntimeException(e);
		}
		return prop;
	}
}
